﻿$(document).ready(function () {
    $('#AllCheck').click(function () {
        if ($(this)[0].checked) {
            $.check.selectall($('input[name="checkId"]'));
        } else {
            $.check.removeall($('input[name="checkId"]'));
        }
    });
} );